import Layout from '@/layout';
export default {
  path: '/menuDemo',
  name: 'menuDemo',
  redirect: '/menuDemo/firstDemo',
  menuType: 2,
  meta: {
    title: '布局参考',
    icon: 'tree',
    menuId: ''
  },
  component: Layout,
  children: [
    {
      path: 'firstDemo',
      name: 'firstDemo',
      component: () => import('@/views/menuDemo/firstDemo'),
      meta: {
        title: '账户列表',
        menuId: ''
      },
      children: []
    },
    {
      path: 'secondDemo',
      name: 'secondDemo',
      component: () => import('@/views/menuDemo/secondDemo'),
      meta: {
        title: '单行布局、嵌套路由',
        menuId: ''
      },
      children: [
        {
          path: 'form',
          name: 'firstDemoForm',
          hidden: true,
          component: () => import('@/views/menuDemo/secondDemo/form'),
          meta: {
            title: '单行一详情页'
          },
          children: []
        }
      ]
    }
  ]
};
